﻿using System;
using System.Collections.Specialized;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Diagnostics;
using System.Web.Security;

public partial class admin_Default : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {
        (Master.FindControl("PageSubtitleLabel") as Label).Text = "Admin Home";
    }

    protected void RadioButtonListViews_SelectedIndexChanged(object sender, EventArgs e)
    {
        try
        {
            MultiView1.ActiveViewIndex = Int32.Parse(RadioButtonListViews.SelectedItem.Value);
        }
        catch(Exception x)
        {
            Trace.Warn("Severe", "RadioButtonListViews.SelectionItem.Value not an integer", x);
        }
    }
}
